<!DOCTYPE html>
<html>
<head>
	<title>Apache</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<script src="js/jquery-2.2.3.min.js"></script>
	<script src="js/jquery-ui.min.js"></script>
	<link type="text/css" href="css/jquery-ui.min.css" rel="stylesheet">
	<link href="css/bootstrap.min.css" rel="stylesheet">
	<script src="js/bootstrap.min.js"></script>
	<link rel="shortcut icon" href="img/logo.png" type="image/x-icon" />
	<link rel="icon" href="img/logo.png" type="image/gif">
	
	<link href="css/apache/style.css" rel="stylesheet">
</head>
<body>
	<div id="center">
		<div id="center_div1">
            <h1>Apache</h1>
			<br>
			<span><a href="https://ikaros-521.gitee.io/blog/2020/04/06/centos7-de-apache-da-jian-web-xiang-mu-bu-shu-yu-ming-bei-an-yu-ming-jie-xi-zheng-shi-shang-xian/">环境搭建教程</a></span>
            </br>
			<h3>运行状态 <span class="label" id="state">--</span></h3>
            <button id="start_btn" type="button" class="btn btn-primary" onclick="set_apache('start');">启动apache</button>
            <button id="stop_btn" type="button" class="btn btn-primary" onclick="set_apache('stop');">关闭apache</button>
            <button id="restart_btn" type="button" class="btn btn-primary" onclick="set_apache('restart');">重启apache</button>
            </br>
            <button id="enable_btn" type="button" class="btn btn-primary" onclick="set_apache('enable');">设置开机启动</button>
            <button id="disable_btn" type="button" class="btn btn-primary" onclick="set_apache('disable');">关闭开机启动</button>
		</div>
	</div>
</body>
<script src="js/apache.js"></script>
</html>
